/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package mx.itsc.ds2.dao;

import javax.ejb.Stateless;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;
import mx.itsc.ds2.model.Sales;

/**
 *
 * @author Eli
 */
@Stateless
public class SalesDao extends AbstractDao<Sales> implements SalesDaoLocal {
    @PersistenceContext(unitName = "DiscShopSystem-ejbPU")
    private EntityManager em;

    @Override
    protected EntityManager getEntityManager() {
        return em;
    }

    public SalesDao() {
        super(Sales.class);
    }
    
}
